package com.yunhe.common.model.data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class EnergyUnitBatteryLimitDay implements Serializable {

    private Long energyUnitCode;

    private Integer dataType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;

    private Double value;

    public EnergyUnitBatteryLimitDay() {
    }

    public EnergyUnitBatteryLimitDay(Long energyUnitCode, Integer dataType, Date date, Double value) {
        this.energyUnitCode = energyUnitCode;
        this.dataType = dataType;
        this.date = date;
        this.value = value;
    }

    public Long getEnergyUnitCode() {
        return energyUnitCode;
    }

    public void setEnergyUnitCode(Long energyUnitCode) {
        this.energyUnitCode = energyUnitCode;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }
}
